package cn.xd.itstack.springframework.beans.bean;

/**
 * @Classname UserService
 * @Description TODO
 * @Date 2022/5/10 下午2:43
 * @Created by lvxiaodong
 */
public class UserService {

    private String name;

    private UserDao userDao;

    private int userId;

    public UserService(String name){
        this.name = name;
    }

    public void queryUserInfo(){
        System.out.println(userDao.getUserId(userId));
    }
}
